TH1D* OneDHisto(TH3D* h3,int i,int j)
{
	TH1D* h1 = new TH1D("h1","h1",250,0,100);

	for(int l = 0;l < 250;l++)
	{
		h1->Fill((l+.5)*.4,h3->GetBinContent(i+1,j+1,l+1));
	}

	return h1;
}
